package com.imooc.demo.repository;

import com.imooc.demo.dataobject.ProductCategory;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Auther: 杨通通
 * @Date: 2021/11/2 20:22
 * @Description:
 */
public interface ProductCategoryRepository  extends JpaRepository<ProductCategory,Integer> {

    List<ProductCategory> findByCategoryTypeIn(List<Integer> list);

}